﻿@model List<WebUI.Models.Tables.Product>
<ul class="recommendProduct">
    @foreach (var item in Model)
    {
        <li>
            <a href="@item.ID">
                <div class="img"><img src="@item.MainImage" /></div>
                <div class="name">@item.ProductName</div>
            </a>
            <div class="price">@item.Price</div>
        </li>
    }
</ul>